using System;
using System.Xml.Serialization;

namespace MCMLXVII.BackEnd.Services.SessionManagement.Messages
{
	/// <summary>
	/// Summary description for NewSessionResponse.
	/// </summary>
	[Serializable()]    
    [System.Xml.Serialization.XmlType(Namespace = "http://tempuri.org/")]
    public class msgNewSessionResponse
	{
		private string _EngineVersion;
        private string _Diag;
        private DateTime _SessionExpiresOn;
		private Guid _SessionGUID;
		private string _UserName;
		private string[] _AllowedOperations;
		private string _RedirectedTo;
		private string _Language;
        private int _MemberID;

        public msgNewSessionResponse()
		{
		}

        public msgNewSessionResponse(string Diag, string EngineVersion, DateTime SessionExpiresOn, Guid SessionGuid, string UserName, string[] AllowedOperations, string RedirectTo, string Language, int MemberID)
        {
            _Diag = Diag;
            _EngineVersion = EngineVersion ;
            _SessionExpiresOn = SessionExpiresOn ;
            _SessionGUID = SessionGuid ;
            _UserName = UserName ;
            _AllowedOperations = AllowedOperations;
            _RedirectedTo = RedirectTo ;
            _Language = Language ;
            _MemberID = MemberID;
        }

        public string Diag
        {
            get { return _Diag; }
            set { _Diag=value; }
        }

        public string EngineVersion
		{
			get{return _EngineVersion;}
            set{_EngineVersion=value;}
		}
		public DateTime SessionExpiresOn
		{
			get{return _SessionExpiresOn;}
            set{_SessionExpiresOn=value;}
		}
		public Guid SessionGUID
		{
			get{return _SessionGUID;}
			set{_SessionGUID=value;}
		}
		public string UserName
		{
			get{return _UserName;}
   			set{_UserName=value;}

		}
		public string[] AllowedOperations
		{
			get{return _AllowedOperations;}
			set{_AllowedOperations=value;}
		}
		public string RedirectTo
		{
			get{return _RedirectedTo;}
			set{_RedirectedTo=value;}
		}
		public string Language
		{
			get{return _Language;}
			set{_Language=value;}
		}
        public int MemberID
        {
            get { return _MemberID; }
            set { _MemberID=value; }
        }

    }
}
